#ifndef RECTANGLE_H
#define RECTANGLE_H
#include "Geometric.h"

class Rectangle : public Geometric {
  public:
    Rectangle();
    Rectangle(double width, double height);
    Rectangle(double width, double height, const string& color, bool filled);
    double getWidth() const;
    double getHeight() const;
    void setWidth(double width);
    void setHeight(double height);
    double getPerimeter() const;
    string toString() const;
    double getArea() const;

  private:
    double width;
    double height;
};

#endif